import { useState } from 'react'
import './App.css'
import {BrowserRouter,useRoutes} from 'react-router-dom'
import { routes } from './router/Index'

function App() {
  let Ele=()=>useRoutes(routes)

  return (
   <BrowserRouter>
    <Ele  />
   </BrowserRouter>
  )
}

export default App
